package com.xiaoxin.smartbi.config;

import io.github.briqt.spark4j.SparkClient;
import lombok.Data;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
public class XingHuoConfig {
    @Bean
    public SparkClient sparkClient(){
        SparkClient sparkClient=new SparkClient();
        // 设置认证信息
        sparkClient.appid="4c357ef3";
        sparkClient.apiKey="afad1d1b4054057b3040586deda74afa";
        sparkClient.apiSecret="MjJkYmE5YTY5Yjc4OTgxNjYyMWNjMzlh";
        return sparkClient;
    }
}
